<?php

namespace app\index\model;

use think\Db;
use think\Model;

class KuaiDiOptionsModel extends Model {

    public function getOptionsList()
    {
        $where['status'] = ['=', 1];
        
        $list = Db::table('kuaidi_options')->where($where)->select();
        $res['success'] = true;
        $res['desc'] = '';
        $res['errorcode'] = '';
        $res['data']['list'] = $list;
        return $res;

    }

}